C# ref参数 ref关键字用于将方法内的变量改变后带出方法外。具体我们通过例子来说明: static void Main(string[] args) { int c = 0; Add(1, 2,ref c); ...